package com.wgyspring.common.core.pojo;

import lombok.Getter;
@Getter
public enum ResultCode {
    SUCCESS(200, "操作成功"),
    ERROR(500, "系统异常");
    private final int code;
    private final String msg;
    ResultCode(int code, String msg) {
        this.code = code;
        this.msg = msg;
    }

}
